package com.frxuexi.lib_base

sealed class IUiState {
    data class onSuccess<out T>(val data:T,val type: RequestType=RequestType.DEFAULT):IUiState()
    data class onError(val msg:String):IUiState()
    data object onLoading:IUiState()
}